<include file="Public:header" />
<script type="text/javascript" src="__PUBLIC__/admin/js/engine.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/jq_validate.js"></script>
<script type="text/javascript">
$(function(){
	$('#web_name').validate('required','请填写网站名称').validate();
	$('#dataForm').submitValidate();	
});
</script>
<body class="mainBackground">
	<include file="Public:menu" />
	<div class="main" id="mainContainer">
        <!--发布-->
    	<div class="content_box">
        	<div class="content_box_t">
            	<h3 class="fl">网站基本配置</h3>
            </div>
            <div class="content_box_c">
            	<form action="__URL__" method="post" id="dataForm" name="dataForm">
                	<div class="field">
						<label>网站名称</label>
						<input class="text_input small_input" type="text" name="web_name" id="web_name" value="{$data.web_name}" />
                        <span class="input_notification  png_bg" id="web_nameTip"></span>
						<small>网站名称不能为空</small>
					</div>
                	<div class="field pt15">
						<label>网站域名</label>
						<input class="text_input small_input" type="text" name="web_domain" id="web_domain" value="{$data.web_domain}"/>
                        <span class="input_notification  png_bg" id="web_domainTip"></span>
						<small>以"http://"开头</small>
					</div>
                	<div class="field pt15">
						<label>备案号</label>
						<input class="text_input small_input" type="text" name="web_bei" id="web_bei" value="{$data.web_bei}"/>
                        <span class="input_notification  png_bg" id="web_beiTip"></span>
						<small>服务器在国内需要备案</small>
					</div>
                	<div class="field pt15">
						<label>版权</label>
						<input class="text_input small_input" type="text" name="web_rightcopy" id="web_rightcopy" value="{$data.web_rightcopy}"/>
                        <span class="input_notification  png_bg" id="web_rightcopyTip"></span>
					</div>
                	<div class="field pt15">
						<label>网站邮箱</label>
						<input class="text_input small_input" type="text" name="web_email" id="web_email" value="{$data.web_email}"/>
                        <span class="input_notification  png_bg" id="web_emailTip"></span>
					</div>                                        					                                        
                	<div class="field pt15">
						<label>SEO标题</label>
						<input class="text_input medium_input" type="text" name="web_title" value="{$data.web_title}"/>
						<small>自定义标题,一般不超过80个字符</small>
					</div> 
                	<div class="field pt15">
						<label>SEO关键词</label>
						<input class="text_input medium_input" type="text" name="web_keywords" value="{$data.web_keywords}"/>
						<small>关键词以","隔开一般不超过100个字符</small>
					</div>
                	<div class="field pt15">
						<label>SEO描述</label>
						<textarea class="text_input" name="web_description" cols="79" rows="5">{$data.web_description}</textarea>
						<small>帮助SEO优化,一般不超过200个字符</small>
					</div>                                                           
                    <div class="field pt15 clearfix">
                    	<input type="submit" value="提交" class="public_button fr" />
                    </div>                                                                               
                </form>
            </div>
        </div>            
        <!--发布结束-->
    </div>
</body>
</html>
